widgets.brease.BarChartItem

Widget Description

short: BarChartItem zur Datenanbindung
de: Widget zur Datenanbindung für BarChart. Jedes BarChartItem repräsentiert eine Säule
en: Widget used for data connection to BarChart. Each BarChartItem represents a bar

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
enable Initial option to enable widget. Behavior Boolean true true false false false false true
maxValue Maximum value, used to define the limits of the Chart. Behavior Number 100 false false false false false true
minValue Minimun value, used to define the limits of the Chart. Behavior Number 0 false false false false false true
node Value with unit for the bar. Data brease.datatype.Node true false false false false true
permissionOperate restricts operability to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
permissionView restricts visibility to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
style reference to a style for this widget type Appearance StyleReference default true false false false false true
text Display text on the cardinal axis for the Bar. Appearance String no defaultValue
defined
false false true true false true
value Value for the bar. The configured default value will be used if the property is not bound. Data Number 50 true false false false false true node
visible change visibility Behavior Boolean true true false false false false true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true

Styleable Properties

name type description defaultValue
borderWidth PixelValCollection

Sets the width of the border. For further information, please check its type

2px
borderColor ColorCollection

Sets the color of the border. For further information, please check its type

#000000
backColor Color

Sets the color of the background. For further information, please check its type

#FF8800
textColor Color

Sets the height of the displayed value

#000000
fontSize PixelVal

Sets the height of the displayed value

12px
fontName FontName

Sets the font name of the displayed value

Arial
bold Boolean

Sets the bold property of the displayed value

false
italic Boolean

Sets the italic property of the displayed value

false
opacity Opacity

Opacity of the widget

1

Events

name description arguments
Click Fired when element is clicked on.
  • origin: String

    id of widget that triggered this event

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

DisabledClick Fired when disabled element is clicked on.
  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
SetEnable Sets the state of property «enable»
  • value: Boolean

SetStyle
  • value: StyleReference

SetValue Sets the value for the Bar
  • value: Number

SetVisible Sets the state of property «visible»
  • value: Boolean